package com.ipharma.config;

public class TimeOut {

   private long secs;

   private boolean valid;
   
   public TimeOut(long pSecs) {

      secs = pSecs;
      valid = true;
   }

   public synchronized void set(long pSecs) {

      secs = pSecs;
   }

   public synchronized long get() {

      return secs;
   }

   public synchronized boolean isValid() {

      return valid;
   }

   public synchronized void setValid(boolean pValid) {

      valid = pValid;
   }

   
}
